import 'package:flutter/cupertino.dart';

import '../../config/public_color.dart';
import '../../foundation/decoration/border_decoration.dart';

/// FileName border_container
///
/// @Author lax
/// @Date 2024/4/22
///
/// @Description

class BorderContainer extends Container {
  BorderContainer({
    super.key,
    super.width,
    super.height,
    super.margin,
    super.padding,
    super.alignment = Alignment.center,
    Color? color,
    Color? borderColor,
    double? borderWidth,
    double? radius,
    super.child,
  }) : super(
          decoration: BorderDecoration(
            radius: radius,
            color: color,
            borderColor: borderColor ?? PublicColor.border,
            borderWidth: borderWidth ?? 0.5,
          ),
        );
}
